package com.example.xinhuaxin.service.impl;

import com.example.xinhuaxin.dao.PointDao;
import com.example.xinhuaxin.entity.Point;
import com.example.xinhuaxin.service.PointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: YancyZhang
 * @time: 2022/6/13 10:52
 */
@Service
public class PointServiceImpl implements PointService {
    @Autowired
    PointDao pointDao;

    @Override
    public Point getPointInfo(String user_id) {

        return pointDao.getUserPoint(user_id);
    }
}